From: Chad Horohoe Date: Wed, 24 Sep 2014 16:56:43 +0000 (-0700) Subject: $wgTitle is not needed for running parser tests X-Git-Tag: 1.31.0-rc.0~13842 X-Git-Url: http://git.cyclocoop.org//%22http:/%22.attribut_html%28%24lesurls%5B%24numero%5D%29.%22/%22?a=commitdiff_plain;h=14a81a7dc70ace76023a75836ceab507e8c3b51a;p=lhc%2Fweb%2Fwiklou.git $wgTitle is not needed for running parser tests Change-Id: Iaf14b1bc15763207a30cf624d5876120b0d5ce01 --- diff --git a/tests/parserTests.php b/tests/parserTests.php index 9965c4382c..5d21319bac 100644 --- a/tests/parserTests.php +++ b/tests/parserTests.php @@ -70,10 +70,6 @@ if ( $wgDBtype == 'sqlite' ) { } } -# There is a convention that the parser should never -# refer to $wgTitle directly, but instead use the title -# passed to it. -$wgTitle = Title::newFromText( 'Parser test script do not use' ); $tester = new ParserTest( $options ); if ( isset( $options['file'] ) ) {